<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>" />
<title>بحث متقدم <?php echo $cfg_webname;?></title>
<link href="<?php echo $cfg_templets_skin; ?>/style/dedecms.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body class="flinkpage">

<div class="header">
	<div class="top w960 center">
		<div class="title">
			<h1><a href="/ar"><img src="/images_xu/en_logo.png" alt="{dede:global.cfg_webname/}"/></a> </h1>
		</div><!-- /title -->

	</div><!-- /top -->
</div><!-- /header -->

<div class="w960 clear center mt1 cmt-box">
	<div class="sp-title">
		<h2>بحث متقدم</h2>
		<span class="more">
			<a href="/ar">منزل</a>
		</span>
	</div>
  <div class="formbox">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#cccccc">
                <form name="form1" action="search_en.php" method="get">
                  <tr bgcolor="#FFFFFF"> 
                    <td height="30" align="center" width="20%">العمود الموقع:</td>
                    <td height="30"> 
                      <?php
              $tl = new TypeLink(0);
              $typeOptions = $tl->GetOptionArray(0,0,0);
              echo "<select name='typeid' style='width:200'>\r\n";
              echo "<option value='0' selected>--لا تحد عمود--</option>\r\n";
              echo $typeOptions;
              echo "</select>";
            ?>
                    </td>
                  </tr>
                  <tr bgcolor="#FFFFFF"> 
                    <td height="30" align="center">الكلمة:</td>
                    <td width="490" height="30"><input name="q" type="text" id="q" class="ipt-txt"></td>
                  </tr>
                  <tr bgcolor="#FFFFFF"> 
                    <td height="30" align="center">نشرت:</td>
                  <td height="30"><select name="starttime" id="starttime" >
                        <option value="-1" selected>--غير محدود--</option>
                        <option value="7">في غضون أسبوع</option>
                        <option value="30">خلال شهر واحد</option>
                        <option value="90">في غضون ثلاثة أشهر</option>
                        <option value="180">في غضون ستة أشهر</option>
                      </select></td>
                  </tr>
                  <tr bgcolor="#FFFFFF" style="display:none;"> 
                    <td height="30" align="center">内容类型：</td>
                  <td height="30"> <select name="channeltype" id="channeltype" >
                        <option value="0" selected>--不限--</option>
                        <?php
					 
					 $dsql->SetQuery("Select id,typename From #@__channeltype order by id desc");
					 $dsql->Execute();
					 while($row = $dsql->GetObject())
					 {
					   echo "<option value='".$row->id."'>".$row->typename."</option>\r\n";
					 }
					 ?>
                      </select> </td>
                  </tr>
                  <tr bgcolor="#FFFFFF"> 
                    <td height="30" align="center">الترتيب حسب:</td>
                  <td height="30"> <select name="orderby" id="orderby" >
                        <option value="sortrank" selected>--الافتراضي--</option>
                        <option value="senddate">جمع الوقت</option>
                        <option value="pubdate">نشرت</option>
                        <option value="id">وثائق الهوية</option>
                      </select> </td>
                  </tr>
                  <tr bgcolor="#FFFFFF"> 
                    <td height="30" align="center">عرض عدد من:</td>
                    <td height="30"><input name="pagesize" type="text" id="pagesize" value="10" size="4" class="ipt-txt"></td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td height="30" align="center">وضع المفتاح:</td>
                    <td height="30"><input name="kwtype" type="radio" value="1" checked>
                      أو 
                      <input type="radio" name="kwtype" value="0">
                      و</td>
                  </tr>
                  <tr bgcolor="#FFFFFF"> 
                    <td height="30" align="center">محتوى البحث:</td>
                    <td height="30">
					<select name="searchtype" id="searchtype" class="op1">
                     <option value="titlekeyword" selected>ضبابي ذكي</option>
                     <option value="title">عنوان البحث</option>
					 </select>
					 </td>
                  </tr>
                  <tr bgcolor="#F4FCE4"> 
                    <td height="30" align="center" bgcolor="#FFFFFF">&nbsp;</td>
                    <td height="30" bgcolor="#FFFFFF"><input name="Search" type="submit" class="btn-2" value="بحث" border="0" />                      <input name="reset" type="reset" class="btn-2" value="إعادة تعيين" border="0" id="reset" /></td>
                  </tr>
                </form>
              </table>
<br />
  </div>

</div>


<!-- //底部模板 -->
<div class="footer w960 center mt1 clear">
	<!-- 
		为了支持织梦团队的发展,请您保留织梦内容管理系统的链接信息.
		我们对支持织梦团队发展的朋友表示真心的感谢!织梦因您更精彩!
	-->
    <div class="footer_left"></div>
    <div class="footer_body">
   
	<p class="powered">    
		<div class="copyright"><?php echo $cfg_powerby; ?>&nbsp;&nbsp;<?php echo $cfg_beian; ?></div></p>        
<!-- /powered -->
   </div>
   <div class="footer_right"></div>
</div>

</body>
</html>
